﻿using Ant.Interface.Mef;
using FluentNHibernate.Cfg.Db;
using NHibernate.Cfg;

namespace Ant.BasicPlugIn.Data.Providers
{
    public interface IDataServicesProvider : IAutoDependency
    {
        Configuration BuildConfiguration(SessionFactoryParameters sessionFactoryParameters);

        IPersistenceConfigurer GetPersistenceConfigurer(bool createDatabase);

        string Parameter { get; set; }
    }
}